DATA_VALID=DATA_ERROR
Non-control endpoint count register
DATA_COUNT_MSB | These bits are the 3 MSb bits of an 11-bit counter. The LSb are the Data Count[7:0] bits of the CNT1 register. Refer to the CNT1 register for more information. |
DATA_VALID | This bit is used for OUT transactions only and is read only. It is cleared to ‘0’ if CRC bit stuffing errors or PID errors occur. This bit does not update for some endpoint mode settings. 0 (DATA_ERROR): No ACK’d transactions since bit was last cleared. 1 (DATA_VALID): Indicates a transaction ended with an ACK. |
DATA_TOGGLE | This bit selects the DATA packet’s toggle state. For IN transactions firmware must set this bit to the expected state. For OUT transactions the hardware sets this bit to the state of the received Data Toggle bit. |